<!DOCTYPE html>
<html>
  <head>
   <meta charset="UTF-8">
     <link href="/stylesheets/bootstrap.css" rel="stylesheet">
     <script src="/javascripts/jquery-1.12.3.js"></script>
     <script src="/javascripts/bootstrap.js"></script>
     <script src="/javascripts/bootstrap.min.js"></script>
    <style type="text/css">
.mid{
  position: fixed;
  margin-top: 0px;
  height: 100%;
  width: 100%;
  background-color: blue;
  min-width: 960px;
}
.left{
  float: left;
  height: 100%;
  width: 220px;
  background-color: yellow;
  overflow-y:auto;
  direction: rtl;
  unicode-bidi: embed;
  text-align: left;
}
.right{
  margin-left: 230px;
  height: 100%;
  background-color: red;
  overflow-y:auto;
}
    </style>
  </head>
  <body>

 <div class="mid">
      <div class="left" id="left">
        <ul class="nav nav-pills nav-stacked">
                 <li><a href="#" onclick="load('/student/add.html')">学生创建</a></li>
                 <li><a href="#" onclick="load('/student/list.html')">学生管理</a></li>
              </ul>
      </div>
      <div class="right" id="right">
      
      </div>
  </div>


  </body>
<script type="text/javascript">
  function load(url){
     $.get(url,function(result,status){
       $("#right >div").remove();
      $("#right").append(result);
    });
   }
 
</script>
</html>
